package cn.aku.Plus;

public class Emp implements Comparable<Emp> {
    String name;
    double score;
    public Emp(){}
    public Emp(String name,double score){
        this.name = name;
        this.score = score;
    }
    public String toString(){
        return name+","+score;
    }
    @Override
    public int compareTo(Emp o) {
        return this.score>o.score?1:-1;
    }
}
